package com.hee.erp.modules.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author weizehong
 * @since 2022-04-16
 */
@Getter
@Setter
@TableName("t_bus_customer_contact")
@ApiModel(value = "BusCustomerContact对象", description = "")
public class BusCustomerContact implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId("id")
    private String id;

    @ApiModelProperty("客户id")
    @TableField("customer_id")
    private String customerId;

    @ApiModelProperty("姓名")
    @TableField("contact_name")
    private String contactName;

    @ApiModelProperty("性别")
    @TableField("contact_sex")
    private Integer contactSex;

    @TableField(exist = false)
    private String contactSexName;

    @ApiModelProperty("电话")
    @TableField("contact_tel")
    private String contactTel;

    @ApiModelProperty("手机号")
    @TableField("contact_phone")
    private String contactPhone;

    @ApiModelProperty("email")
    @TableField("email")
    private String email;

    @ApiModelProperty("部门")
    @TableField("depart_name")
    private String departName;

    @ApiModelProperty("职位")
    @TableField("role_name")
    private String roleName;

    @ApiModelProperty("备注")
    @TableField("remark")
    private String remark;

    @TableField(value = "del_flag",fill = FieldFill.INSERT)
    private Boolean delFlag;

    @TableField(value = "create_user",fill = FieldFill.INSERT)
    private String createUser;

    @TableField(value = "create_time",fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    @TableField(value = "modify_user",fill = FieldFill.INSERT_UPDATE)
    private String modifyUser;

    @TableField(value = "modify_time",fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime modifyTime;


}
